<?php get_header(); ?>

<div id="content"><?php 
	
	if (have_posts()) : 
		ta_include('sub-header.php');
	while (have_posts()) : the_post();
		ta_include('the-post.php');
	endwhile;
		ta_include('sub-footer.php');
		ta_include('page-nav.php');
	else : 
		ta_include('notfound.php'); 
endif; 

?></div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>
